// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** getBilibiliDesc POST /api/bilibili/desc */
export async function getBilibiliDescUsingPOST(
  body: API.BilibiliDescQueryRequest,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponseDescVO_>('/api/bilibili/desc', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** getTagsDist POST /api/bilibili/dist/tags */
export async function getTagsDistUsingPOST(
  body: API.BilibiliDescQueryRequest,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponseListTagDistVO_>('/api/bilibili/dist/tags', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** getBilibiliList POST /api/bilibili/list */
export async function getBilibiliListUsingPOST(options?: { [key: string]: any }) {
  return request<API.BaseResponseListBilibili_>('/api/bilibili/list', {
    method: 'POST',
    ...(options || {}),
  });
}

/** getBilibiliPage POST /api/bilibili/page */
export async function getBilibiliPageUsingPOST(
  body: API.BilibiliQueryRequest,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponsePageBilibiliVO_>('/api/bilibili/page', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
